--
-- Register aliases for some mods that are using too many dye colors
--

if minetest.get_modpath("dye") then 

  if minetest.registered_items["dye:lightgrey"]
    and not minetest.registered_items["dye:lightgrey"]
    then
     minetest.register_alias("dye:lightgrey" ,"dye:grey")
  end
  if minetest.registered_items["dye:green"]
    and not minetest.registered_items["dye:lime"]
    then
     minetest.register_alias("dye:lime" ,"dye:green")
  end
  if minetest.registered_items["dye:blue"]
    and not minetest.registered_items["dye:aqua"]
    then
     minetest.register_alias("dye:aqua" ,"dye:blue")
  end
  if minetest.registered_items["dye:cyan"]
    and not minetest.registered_items["dye:sky_blue"]
    then
     minetest.register_alias("dye:sky_blue" ,"dye:cyan")
  end
  if minetest.registered_items["dye:magenta"]
    and not minetest.registered_items["dye:red_violet"]
    then
     minetest.register_alias("dye:red_violet" ,"dye:magenta")
  end

 end
